home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ZCTL User Commands ZCTL
-
-
-
- NNAAMMEE
- zctl - zephyr control program
-
- SSYYNNOOPPSSIISS
- zzccttll [ _o_p_t_i_o_n_s ]
-
- DDEESSCCRRIIPPTTIIOONN
- _Z_c_t_l is a general purpose control program for the _Z_e_p_h_y_r(_1)
- Notification Service. It allows the user to subscribe to
- specific notice types, to save the subscriptions in a file
- (default $HOME/.zephyr.subs), to change his location infor-
- mation, and to send control messages to the HostManager,
- _z_h_m(_8), and the WindowGram client, _z_w_g_c(_1).
-
- The commands may be typed on the command line, or may be
- entered interactively by just typing _z_c_t_l and then typing
- commands to the prompt.
- NNOOTTEE:: For all commands accepting an optional _r_e_c_i_p_i_e_n_t argu-
- ment, the _r_e_c_i_p_i_e_n_t defaults to your Kerberos principal.
- You may also subscribe to recipient ``*''. If you specify a
- recipient, it is silently converted to ``*''.
- The commands are as follows:
-
- aadddd _c_l_a_s_s _i_n_s_t_a_n_c_e [ _r_e_c_i_p_i_e_n_t ]
- Subscribe to _c_l_a_s_s, _i_n_s_t_a_n_c_e, _r_e_c_i_p_i_e_n_t, and
- add this triplet to the subscriptions file.
-
- aadddd__uunnssuubbssccrriippttiioonn _c_l_a_s_s _i_n_s_t_a_n_c_e [ _r_e_c_i_p_i_e_n_t ]
- Unsubscribe to _c_l_a_s_s, _i_n_s_t_a_n_c_e, _r_e_c_i_p_i_e_n_t,
- and add this triplet to the subscriptions
- file as an un-subscription. For an explana-
- tion of un-subscriptions, see below.
-
- ccaanncceell Cancel all subscriptions.
-
- ddeeffaauullttss Retrieve the default subscription list from
- the Zephyr server.
-
- ddeelleettee _c_l_a_s_s _i_n_s_t_a_n_c_e [ _r_e_c_i_p_i_e_n_t ]
- Unsubscribe to _c_l_a_s_s, _i_n_s_t_a_n_c_e, _r_e_c_i_p_i_e_n_t,
- and remove this triplet from the subscrip-
- tions file.
-
- ddeelleettee__uunnssuubbssccrriippttiioonn _c_l_a_s_s _i_n_s_t_a_n_c_e [ _r_e_c_i_p_i_e_n_t ]
- Unsubscribe to _c_l_a_s_s, _i_n_s_t_a_n_c_e, _r_e_c_i_p_i_e_n_t,
- and remove this triplet from the subscrip-
- tions file as an un-subscription.
-
- ffiillee [ _f_i_l_e ] Set default subscriptions file to _f_i_l_e. If
- _f_i_l_e isn't specified, show what the current
- subscriptions file is.
-
-
-
-
- MIT Project Athena July 1, 1988 1
-
-
-
-
-
-
- ZCTL User Commands ZCTL
-
-
-
- fflluusshh__llooccss Tell the Zephyr servers to flush all location
- information associated with the user. This
- should only be used to remove any incorrect
- data that may have been left after a system
- crash.
-
- hhiiddee Hide your location as maintained by the
- Zephyr server. This does not affect the
- value of the exposure variable (see below,
- under sseett))..
-
- hhmm__fflluusshh Tell the HostManager, _z_h_m(_8), to ask the
- server to flush all state associated with the
- current host.
-
- lliisstt [ _f_i_l_e ] List contents of current subscriptions file
- or _f_i_l_e. Any macros in the file (see below)
- are displayed verbatim and not expanded.
-
- lliisstt__rreeqquueessttss List all available commands. May be abbrevi-
- ated by '?'.
-
- llooaadd [ _f_i_l_e ] Subscribe to all subscription triplets and
- unsubscribe to all un-subscription triplets
- in current subscriptions file or _f_i_l_e.
-
- nneeww__sseerrvveerr Tell the HostManager, _z_h_m(_8), to find a new
- Zephyr server.
-
- qquuiitt Exit from _z_c_t_l.
-
- rreettrriieevvee Retrieve all current subscriptions from the
- Zephyr server. These include subscriptions
- that might have been made by other programs,
- such as _z_n_o_l(_1).
-
- ssaavvee [ _f_i_l_e ] Save all current subscriptions (as returned
- by the Zephyr server) into current subscrip-
- tions file or _f_i_l_e. The file will be
- replaced.
-
- sseett _v_a_r [ _v_a_l_u_e ]
- Set the value of Zephyr variable _v_a_r to
- _v_a_l_u_e, or null if no _v_a_l_u_e is specified. The
- variable eexxppoossuurree has special significance,
- and can only be set to the values none,
- opstaff, realm-visible, realm-announced,
- net-visible, and net-announced. Setting this
- variable immediately updates the information
- in the Zephyr servers (see below for an
- explanation of the exposure levels). In
- addition, setting this variable to none
-
-
-
- MIT Project Athena July 1, 1988 2
-
-
-
-
-
-
- ZCTL User Commands ZCTL
-
-
-
- automatically performs the equivalent of a
- wwgg__sshhuuttddoowwnn command, and setting it to one of
- the other values automatically performs the
- equivalent of a wwgg__ssttaarrttuupp command.
- Any variable settings you make will be stored
- in $_H_O_M_E/._z_e_p_h_y_r._v_a_r_s
-
- sshhooww _v_a_r [ _v_a_r ... ]
- Show the value of the specified Zephyr vari-
- ables. If a variable is not defined in the
- user's own variables file, the system vari-
- ables file (/_u_s_r/_s_w_w/_l_i_b/_z_e_p_h_y_r/_z_e_p_h_y_r._v_a_r_s)
- is searched for a default value.
-
- ssuubbssccrriibbee _c_l_a_s_s _i_n_s_t_a_n_c_e [ _r_e_c_i_p_i_e_n_t ]
- Subscribe to _c_l_a_s_s, _i_n_s_t_a_n_c_e, _r_e_c_i_p_i_e_n_t, but
- don't add this triplet to the subscriptions
- file.
-
- uunnhhiiddee Make your location as maintained by the
- Zephyr server visible. This does not affect
- the value of the exposure variable.
-
- uunnllooaadd [ _f_i_l_e ]
- Unsubscribe to all subscription triplets in
- current subscriptions file or _f_i_l_e. Un-
- subscriptions in the file are ignored.
-
- uunnsseett _v_a_r [ _v_a_r ... ]
- Delete the definitions of the specified
- Zephyr variables.
-
- uunnssuubbssccrriibbee _c_l_a_s_s _i_n_s_t_a_n_c_e [ _r_e_c_i_p_i_e_n_t ]
- Unsubscribe to _c_l_a_s_s, _i_n_s_t_a_n_c_e, _r_e_c_i_p_i_e_n_t,
- but don't remove this triplet from the sub-
- scriptions file.
-
- wwgg__rreeaadd Tell the WindowGram client, _z_w_g_c(_1), to
- reread its description file.
-
- wwgg__sshhuuttddoowwnn Tell the WindowGram client to shutdown; this
- causes it to ignore all notices until a
- wg_startup command is issued.
-
- wwgg__ssttaarrttuupp Tell the WindowGram client to start accepting
- notices again; useful after a wg_shutdown
- command has been issued.
-
- MMAACCRROOSS aanndd SSUUBBSSCCRRIIPPTTIIOONN FFIILLEESS
- There are three macros, %_h_o_s_t%, %_c_a_n_o_n%, and %_m_e%. %_h_o_s_t% is
- converted to the current hostname, %_c_a_n_o_n% is converted to
- the official hostname as returned by _g_e_t_h_o_s_t_b_y_n_a_m_e(_3), and
-
-
-
- MIT Project Athena July 1, 1988 3
-
-
-
-
-
-
- ZCTL User Commands ZCTL
-
-
-
- %_m_e% is converted to your Kerberos principal. These macros
- can be used in your $_H_O_M_E/._z_e_p_h_y_r._s_u_b_s file or as arguments
- to commands to specify the _c_l_a_s_s or _i_n_s_t_a_n_c_e fields. A sam-
- ple $_H_O_M_E/._z_e_p_h_y_r._s_u_b_s file might contain the following:
-
- message,urgent,%me%
- syslog,%host%,*
- mail,pop,%me%
-
- _Z_c_t_l reads the environment variable WWGGFFIILLEE, to find the name
- of the file where the windowgram port resides. If WWGGFFIILLEE is
- not set, the file name defaults to /tmp/wg._u_i_d, where _u_i_d is
- the user's UNIX uid.
-
- UUNN--SSUUBBSSCCRRIIPPTTIIOONNSS
- The zephyr server, _z_e_p_h_y_r_d(_8), maintains default subscrip-
- tions which are automatically added to all users' subscrip-
- tions at the time of their first subscription during a login
- session. If you wish to automatically remove some of these
- default subscriptions, you use uunn--ssuubbssccrriippttiioonnss.. When you
- llooaadd a subscription file containing un-subscriptions, the
- un-subscriptions are automatically sent to the server as if
- you had used the uunnssuubbssccrriibbee command.
-
- EEXXPPOOSSUURREE LLEEVVEELLSS
- The different exposure levels affect the operation of zephyr
- and its interaction with the user, as follows:
-
- _n_o_n_e This completely disables Zephyr for the user. The
- user is not registered with Zephyr. No user loca-
- tion information is retained by Zephyr. No login
- or logout announcements will be sent. No sub-
- scriptions will be entered for the user, and no
- notices will be displayed by _z_w_g_c(_1).
-
- _o_p_s_t_a_f_f The user is registered with Zephyr. No login or
- logout announcements will be sent, and location
- information will only be visible to Operations
- staff. Default subscriptions and any additional
- personal subscriptions will be entered for the
- user.
-
- _r_e_a_l_m-_v_i_s_i_b_l_e
- The user is registered with Zephyr. User location
- information is retained by Zephyr and made avail-
- able only to users within the user's Kerberos
- realm. No login or logout announcements will be
- sent. This is the system default. Default sub-
- scriptions and any additional personal subscrip-
- tions will be entered for the user.
-
- _r_e_a_l_m-_a_n_n_o_u_n_c_e_d
-
-
-
- MIT Project Athena July 1, 1988 4
-
-
-
-
-
-
- ZCTL User Commands ZCTL
-
-
-
- The user is registered with Zephyr. User location
- information is retained by Zephyr and made avail-
- able only to users authenticated within the user's
- Kerberos realm. Login and logout announcements
- will be sent, but only to users within the user's
- Kerberos realm who have explicitly requested such
- via subscriptions. Default subscriptions and any
- additional personal subscriptions will be entered
- for the user.
-
- _n_e_t-_v_i_s_i_b_l_e
- The user is registered with Zephyr. User location
- information is retained by Zephyr and made avail-
- able to any authenticated user who requests such.
- Login and logout announcements will be sent only
- to users within the user's Kerberos realm who have
- explicitly requested such via subscriptions.
- Default subscriptions and any additional personal
- subscriptions will be entered for the user.
-
- _n_e_t-_a_n_n_o_u_n_c_e_d
- The user is registered with Zephyr. User location
- information is retained by Zephyr and made avail-
- able to any authenticated user who requests such.
- Login and logout announcements will be sent to any
- user has requested such. Default subscriptions
- and any additional personal subscriptions will be
- entered for the user.
-
- EEXXAAMMPPLLEESS
- zzccttll Runs _z_c_t_l in interactive mode.
-
- zzccttll llooaadd Load subscriptions and un-
- subscriptions from
- $_H_O_M_E/._z_e_p_h_y_r._s_u_b_s file.
-
- zzccttll ssuubb mmeessssaaggee ppeerrssoonnaall
- Subscribe to personal messages, but
- don't add this to the subscriptions
- file.
-
- zzccttll ssaavvee Save all current subscriptions to
- the default subscriptions file.
-
- zzccttll sseett eexxppoossuurree nnoonnee Set your exposure level to `none',
- effectively turning off Zephyr.
-
- BBUUGGSS
- The current implementation of the Zephyr server (_z_e_p_h_y_r_d(_8))
- makes no distinction between realm-announced, net-visible
- and net-announced exposure levels.
-
-
-
-
- MIT Project Athena July 1, 1988 5
-
-
-
-
-
-
- ZCTL User Commands ZCTL
-
-
-
- SSEEEE AALLSSOO
- zephyr(1), zwgc(1), zhm(8), zephyrd(8) gethostbyname(3)
- Project Athena Technical Plan Section E.4.1, `Zephyr Notifi-
- cation Service'
-
- FFIILLEESS
- /tmp/wg.*
- $HOME/.zephyr.subs
- $HOME/.zephyr.vars
- /etc/athena/zephyr.vars
-
- AAUUTTHHOORR
- Robert S. French (MIT-Project Athena)
-
-
- RREESSTTRRIICCTTIIOONNSS
- Copyright (c) 1987,1988 by the Massachusetts Institute of
- Technology. All Rights Reserved.
- _z_e_p_h_y_r(_1) specifies the terms and conditions for redistribu-
- tion.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- MIT Project Athena July 1, 1988 6
-
-
-
-